﻿using PersonalDiary.Album.Model;
using PersonalDiary.Album.ViewModel;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace PersonalDiary.Album.View
{
    /// <summary>
    /// AlbumImageView.xaml에 대한 상호 작용 논리
    /// </summary>
    public partial class AlbumImageView : UserControl
    {
        public AlbumImageView()
        {
            InitializeComponent();
        }

        private void ListBox_SelectionChanged_1(object sender, SelectionChangedEventArgs e)
        {
            if (sender != null)
            {
                
                
            }


            //var SelectItem = sender;
            //AlbumImageViewModel AVM = this.DataContext as AlbumImageViewModel;

            //if (SelectItem != null)
            //{
            //    foreach (var item in AVM.ImageList)
            //    {
            //        if (SelectItem == item.FilePath)
            //        {
            //            AVM.SelectItemFilePath.Add(item.FilePath);
            //        }
            //    }
            //}
        }
    }
}
